package com.example.csmall.product.pojo.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class AttributeUpdateDTO implements Serializable {
    private Long templateId;
    @NotNull(message = "属性名称不可以为空哦")
    private String  name;
    private String description;
    private Integer type;
    private Integer inputType;
    private String valueList;
    private String unit;
    private Integer sort;
}
